package com.reiuy.dao;

import com.reiuy.entity.Student;
import com.reiuy.vo.StudentInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface StudentDao {

    int insertStudent(Student student);  //添加信息

    StudentInfo selectStudentByIdPass(@Param("studentid")Integer studentid, @Param("studentpass")String studentpass); //学生登录校验

    List<Map<String,String>> selectAllStudents();      //查询全部学生
}
